package com.beiding.workordersystem.orders.generalorder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
@TableName("bus_order_type")
public class OrderType {

    @TableId
    private String id;
    private String pid;

    //类型名称
    private String name;

    private String description;

    @TableField(exist = false)
    private List<OrderType> children;

    //完整名称
    @TableField(exist = false)
    private String fullName;

}
